

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   et.java

package com.zelix;

import java.io.*;

// Referenced classes of package com.zelix:
//            is, jm, ps, ws, 
//            zs, pm, qy, jb

public class et extends is
    implements pm
{

    int i;
    int j;
    private static String z[];

    et(int k, jb jb, jm jm1)
        throws IOException
    {
        super(k, jm1);
        i = jb.readUnsignedShort();
        j = jb.readUnsignedShort();
    }

    public int l()
    {
        return 12;
    }

    public is a(qy qy1, qy qy2, PrintWriter printwriter)
    {
        try
        {
            is is1 = super.f.a(i);
            if(!(is1 instanceof zs))
            {
                printwriter.println(super.f.b() + z[1] + z[4]);
                return new ps(this, 12, z[4]);
            }
            is is2 = super.f.a(j);
            if(!(super.f.a(j) instanceof zs))
            {
                printwriter.println(super.f.b() + z[1] + z[2]);
                return new ps(this, 12, z[2]);
            }
            String s = ((zs)is2).b();
            if(is.b(s, true) == null)
            {
                printwriter.println(super.f.b() + z[1] + z[3]);
                return new ps(this, 12, z[3]);
            } else
            {
                ws ws1 = new ws(this, (zs)is1, (zs)is2);
                qy1.b(is1, ws1);
                qy1.b(is2, ws1);
                return ws1;
            }
        }
        catch(ArrayIndexOutOfBoundsException _ex)
        {
            printwriter.println(super.f.b() + z[1] + z[0]);
        }
        return new ps(this, 12, z[0]);
    }

    protected void a(DataOutputStream dataoutputstream)
        throws IOException
    {
        dataoutputstream.writeByte(12);
        dataoutputstream.writeShort(i);
        dataoutputstream.writeShort(j);
    }

    private static String z(char[] chs) {
        byte key = 0;
        for (int i = 0; i < chs.length; i++) {
            switch (i % 5) {
                case 0:
                    key =0x33;
                    break;
                case 1:
                    key =28;
                    break;
                case 2:
                    key =94;
                    break;
                case 3:
                    key =64;
                    break;
                case 4:
                    key =46;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static
    {
        String as[];
        as = new String[5];
        as[0] = z("ps03ZRr*`~\\s2`G]x;8\016\\i*`AU<,!@Ty".toCharArray());
        as[1] = z("\023&~".toCharArray());
        as[2] = z("zr(!BZx~\003A]o*!@G<\016/A_<:%]Pn70Z\\n~)@Wy&".toCharArray());
        as[3] = z("zr(!BZx~4WCy~$K@\177,)^Gs,".toCharArray());
        as[4] = z("zr(!BZx~\003A]o*!@G<\016/A_<0!CV<7.JVd".toCharArray());
        z = as;
    }
}